package cn.meomis.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import cn.meomis.common.entity.BaseEntity;

@Entity
@Table(name="t_value_detail")
//@Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)  
public class ValueDetail extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private int id;
    private int valuedetail;			//每次输入的累计值
    private int cheId;					//对应车类型id
    
    private Date createtime;			//创建时间
    private Date backupsTime;			//备份时间
    private int backupsState;			//备份状态，0：为备份，1：已备份
    
    
    
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getValuedetail() {
		return valuedetail;
	}
	public void setValuedetail(int valuedetail) {
		this.valuedetail = valuedetail;
	}


	public Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	public int getCheId() {
		return cheId;
	}
	public void setCheId(int cheId) {
		this.cheId = cheId;
	}
	public Date getBackupsTime() {
		return backupsTime;
	}
	public void setBackupsTime(Date backupsTime) {
		this.backupsTime = backupsTime;
	}
	public int getBackupsState() {
		return backupsState;
	}
	public void setBackupsState(int backupsState) {
		this.backupsState = backupsState;
	}

}
